<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    /* 创建对象的第二种方式 new Object */
    const person = new Object()
    person.name = "陶品奇",
      person.age = 22,
      person.getThis = function () {
        console.log(this);
      }
    console.log(person.name, person.age);
    person.getThis()
    console.log(typeof person);
  </script>
</body>

</html>